package com.yuanfeng.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 分享获取红包等级表
 * @TableName activity_share_get_redpacket_grade
 */
@TableName(value ="activity_share_get_redpacket_grade")
@Data
public class ActivityShareGetRedpacketGradeEntity implements Serializable {
    /**
     * 等级id
     */
    @TableId(type = IdType.AUTO)
    private Integer gradeId;

    /**
     * 规则id
     */
    private Integer ruleId;

    /**
     * 规则标题
     */
    private String ruleTitle;

    /**
     * 红包模版编号
     */
    private Integer redpacketTId;

    /**
     * 红包名称
     */
    private String redpacketTTitle;

    /**
     * 更新时间
     */
    private Date gradeUpdateDate;

    /**
     * 更新人名称
     */
    private String gradeUpdateBy;

    /**
     * 获取此红包需满足的人数
     */
    private Integer needSatisfyPersonNum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}